package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Area;
import cn.itcast.bos.domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.io.File;
import java.util.List;

public interface AreaService {
    /**
     * 从excel文件中国导入区域数据
     */
    void batchImport(File fild);


   void saveBatch(List<Area> areas);

    Page<Area> findPageData(Specification<Area> specification, Pageable pageable);
}
